package com.ruoyi.safe.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 管理清单对象 list_manage
 * 
 * @author ruoyi
 * @date 2023-11-06
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ListManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 参建单位 */
    @Excel(name = "参建单位")
    private String typeNo;

    /** 责任人(取值字典) */
    @Excel(name = "责任人",dictType = "list_duty_person")
    private String responsiblePerson;

    /** 管理行为 */
    @Excel(name = "管理行为")
    private String manageBehaviors;

    /** 风险等级(取字典) */
    @Excel(name = "风险等级",dictType = "list_risk_level")
    private String riskLevel;

    /** 隐患等级(取字典) */
    @Excel(name = "隐患等级",dictType = "list_danger_level")
    private String dangerLevel;

    /** 隐患等级(取字典) */
    private String dangerLevelValue;

    /** 管控措施 */
    @Excel(name = "管控措施")
    private String controlMeasure;

    /** 规范依据 */
    @Excel(name = "规范依据")
    private String normativeBasis;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 分类状态（0正常 1停用） */
    @Excel(name = "分类状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeNo(String typeNo) 
    {
        this.typeNo = typeNo;
    }

    public String getTypeNo() 
    {
        return typeNo;
    }
    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }
    public void setManageBehaviors(String manageBehaviors) 
    {
        this.manageBehaviors = manageBehaviors;
    }

    public String getManageBehaviors() 
    {
        return manageBehaviors;
    }
    public void setRiskLevel(String riskLevel) 
    {
        this.riskLevel = riskLevel;
    }

    public String getRiskLevel() 
    {
        return riskLevel;
    }
    public void setDangerLevel(String dangerLevel) 
    {
        this.dangerLevel = dangerLevel;
    }

    public String getDangerLevel() 
    {
        return dangerLevel;
    }
    public void setControlMeasure(String controlMeasure) 
    {
        this.controlMeasure = controlMeasure;
    }

    public String getControlMeasure() 
    {
        return controlMeasure;
    }
    public void setNormativeBasis(String normativeBasis) 
    {
        this.normativeBasis = normativeBasis;
    }

    public String getNormativeBasis() 
    {
        return normativeBasis;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeNo", getTypeNo())
            .append("responsiblePerson", getResponsiblePerson())
            .append("manageBehaviors", getManageBehaviors())
            .append("riskLevel", getRiskLevel())
            .append("dangerLevel", getDangerLevel())
            .append("controlMeasure", getControlMeasure())
            .append("normativeBasis", getNormativeBasis())
            .append("remark", getRemark())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
